<?php 

use slinks\common\UniversalClassLoader;

require_once '../slinks/Slinks.php';

use slinks\Slinks;

require_once '../slinks/common/UniversalClassLoader.php';

$loader = new UniversalClassLoader();
$loader->registerNamespaces(array(
    'tests'         =>  dirname(dirname(__FILE__))
));

$loader->register();

 /* @var $container sfServiceContainer */
//Slinks::getInstance()->setParameter('param', 'ParameterValue');
Slinks::getInstance()->setDebugEnabled(true);
Slinks::getInstance()->initialize('services.xml',array('root.dir' => __DIR__));

Slinks::getInstance()->getService('mainService')->test();





